package com.yox.testServer;

import com.yox.rpc.annotation.ServiceScan;
import com.yox.rpc.serializer.CommonSerializer;
import com.yox.rpc.transport.netty.server.NettyServer;

/**
 * Netty服务提供者（服务端）
 */

@ServiceScan
public class NettyTestServer {
    public static void main(String[] args) {
        final NettyServer server = new NettyServer("127.0.0.1", 9999, CommonSerializer.HESSIAN_SERIALIZER);
        server.start();
    }
}
